package com.service;

import java.sql.SQLException;
import java.util.HashMap;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.dao.QueryDAO;

@Service("QueryService")
public class QueryService {
	
	@Resource(name="QueryDAO")
	private QueryDAO dao;

	public HashMap searchQueryByTxt(String sql) throws SQLException {
		return dao.selectQueryByTxt(sql);
	}
	
	
}
